package com.tebiecloud.base.client.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.tebiecloud.common.mybatis.base.entity.AbstractEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 租户模块
 * @author tebie
 * @date 2019-08-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class BaseTentantModules extends AbstractEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 模块ID
     */
    @TableId(value = "module_id", type = IdType.ID_WORKER)
    private Long moduleId;

    /**
     * 租户ID
     */
    private Long tentantId;

    /**
     * 服务名称
     */
    private String serviceId;

    /**
     * 模块描述
     */
    private String moduleDesc;

    /**
     * 保留数据0-否 1-是 不允许删除
     */
    private Integer isPersist;

}
